/**
 *--------------------------------------------------------------------\n
 *          HSLU T&A Hochschule Luzern Technik+Architektur            \n
 *--------------------------------------------------------------------\n
 *
 * \brief         Incremental Counter Driver 
 * \file
 * \author        Domenico Colucci, domenico.colucci@stud.hslu.ch
 * \date          31.05.2012
 *
 * \b Language:   Ansi-C \n\n
 * \b Target:     Medusa-Trainer \n
 *
 * \par Description:
 *
 *
 *--------------------------------------------------------------------
 */

#include "incrementCounter.h"
#include "platform.h"

int increment=0;

interrupt void ISR_Increment(void)
{
    TPM2C1SC_CH1F=0;
    increment++;
}
